Skip to content

fix(usb): disconnect handler can fail in various places#413

Merged
makermelissa merged 1 commit into
circuitpython:mainfrom
tyeth:disconnect-usb-handler-failures
Nov 3, 2025
Merged

fix(usb): disconnect handler can fail in various places#413
makermelissa merged 1 commit into
circuitpython:mainfrom
tyeth:disconnect-usb-handler-failures

Conversation

@tyeth
Copy link
Copy Markdown
Contributor

@tyeth tyeth commented Oct 27, 2025

This adds try/catch to some of the disconnect handler sections, which is where it fails when you pull the usb cable and reconnect.

This addresses one part of #373

Copy link
Copy Markdown
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@makermelissa makermelissa merged commit 416bc33 into circuitpython:main Nov 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants